<#assign shmsConstant = statics["cn.hfatec.shms.constants.ShmsConstant"]/>
<div class="col-md-4">
    <div class="user-photo">
        <div class="custom-photo"><img src="images/profile-photo.png">
            <span class="badge badge-red" id="user-new-messages">${totalBacklog!''}</span>
        </div>
        <p>${(Session['loginUser'].userName)!''}</p>
    </div>
</div>
<div class="col-md-8" style="height: 300px">
    <div class="user-info">
        <p>欢迎您，${(Session['loginUser'].userName)!''}！您有<span
                class="red-text">${totalBacklog!''}</span>项待完成的任务！
        </p>
        <ol>
        <#if backlogSalePay != 0>
            <li><a class="btn " onclick="popBackLog('${shmsConstant.BACKLOG_TYPE_SALE}');">
                有<span class="red-text">${backlogSalePay!''}</span>单销售未收款！</a></li>
        </#if>
        <#if totalAssign !=0>
            <li><a class="btn " onclick="popBackLog('${shmsConstant.BACKLOG_TYPE_ASSIGN}');">
                有<span class="red-text">${totalAssign!''}</span>个客户未分配！</a></li>
        </#if>
        <#if totalServicePlan !=0>
            <li><a class="btn" onclick="popBackLog('${shmsConstant.BACKLOG_TYPE_PLAN}');">
                有<span class="red-text">${totalServicePlan!''}</span>项服务计划未执行！</a></li>
        </#if>
        <#if totalRxAudit !=0>
            <li><a class="btn" onclick="popBackLog('${shmsConstant.BACKLOG_TYPE_RX_AUDIT}');">
                有<span class="red-text">${totalRxAudit!''}</span>项处方模板未审核！</a></li>
        </#if>
        <#if totalRxPlan !=0>
            <li><a class="btn" onclick="popBackLog('${shmsConstant.BACKLOG_TYPE_RX_PLAN}');">
                有<span class="red-text">${totalRxPlan!''}</span>项运动计划未审核！</a></li>
        </#if>
        <#if totalRxNextWeekPlan !=0>
            <li><a class="btn" onclick="popBackLog('${shmsConstant.BACKLOG_TYPE_NEXT_WEEK}');">
                有<span class="red-text">${totalRxNextWeekPlan!''}</span>项下周计划安排未执行！</a></li>
        </#if>

        </ol>
    </div>
</div>
<div class="clearfix"></div>